DevHeads.net

Postings by Sylvain Daubert

packetgen 1.4.3 released

packetgen 1.4.3 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, ESP and DNS.

Changes:

### 1.4.3 / 2017-06-04

* PacketGen::Packet.read can now read pcap files, in addition to PcapNG ones

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/opt

letscert 0.6.0 released

letscert 0.6.0 has been released.

* home: <https://github.com/sdaubert/letscert>
* bugs: <https://github.com/sdaubert/letscert/issues>
* doc: <http://www.rubydoc.info/gems/letscert>

Letscert provides a simple Let's Encrypt client in ruby.

Changes:

### 0.6.0 / 2017-06-03

* add support for ECDSA account keys

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

letscert 0.5.0 released

letscert 0.5.0 has been released.

* home: <https://github.com/sdaubert/letscert>
* bugs: <https://github.com/sdaubert/letscert/issues>
* doc: <http://www.rubydoc.info/gems/letscert>

Letscert provides a simple Let's Encrypt client in ruby.

Changes:

### 0.5.0 / 2017-04/18

* add support for ECDSA keys

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

packetgen 1.4.2 released

packetgen 1.4.2 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, ESP and DNS.

Changes:

### 1.4.2 / 2017-03-30

* add Types::Int#sz
* fix Types::Array#read to not grab all data in string but only bytes needed
* improve Types::Array:
** add .set_of to define type of objects handled by array
** add a default #re

packetgen 1.4.1 released

packetgen 1.4.1 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, ESP and DNS.

Changes:

### 1.4.1 / 2017-03-11

* PacketGen::Capture.new: iface argument is no more mandatory.

packetgen 1.4.0 released

packetgen 1.4.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, ESP and DNS.

Changes:

### 1.4.0 / 2017-02-17

* add IEEE 802.11 (Wi-Fi) header support, as PacketGen::Header::Dot11 class,
* add IEEE 802.1x header support, as PacketGen::Header::Dot1x class,
* add Ethernet VLAN tagging/QoS (IEEE 802.1Q, PacketG

packetgen 1.3.0 released

packetgen 1.3.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, IP, IPv6, ARP, ICMP, ICMPv6, UDP, TCP,
ESP and DNS.

Changes:

### 1.3.0 / 2017-01-27

* add DNS header support,
* PCapNG file reading improvement: now take care of link type given in
Interface Description Block to parse packet,
* big internal changes:
* remove StructFu module
* use new types in

Add or remove members from a Struct class

Hi,

I have a class defines from a Struct:
class A < Struct.new(:a, :b, :c)
end

I have a second class:
class B < A
end

Is there a way to remove a member (say c) from A in B?
Or is there a way to do the inverse (declare B with 2 members, and make
A be a subclass of B with a new third member) ?

Regards,

Sylvain

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

<DKIM> [ANN] packetgen 1.2.0 released

packetgen 1.2.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Known protocols are: Ethernet, IP, IPv6, ARP, ICMP, ICMPv6, UDP, TCP and
ESP.

# Create packets:
pkt = PacketGen.gen('Eth').add('IP')
pkt = PacketGen.gen('IP', src: '192.168.1.2', dst:
'192.168.1.3').add('UDP', dport: 53, sport: 45657)

# Manipulate packets:
pkt.is?

Try to use openssl gem with ruby 2.3

Hi,

I am trying to use openssl gem 2.0.2 with ruby 2.3.

My Gemfile contains:
```
gem 'openssl', '~> 2.0'

```

But when I run my app, OpenSSL::VERSION is still 1.1.0

Any idea?

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

packetgen 1.1.0 released

packetgen 1.1.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Known protocols are: Ethernet, IP, IPv6, ARP, ICMP, ICMPv6, UDP and TCP.

# Create packets:
pkt = PacketGen.gen('Eth').add('IP')
pkt = PacketGen.gen('IP', src: '192.168.1.2', dst:
'192.168.1.3').add('UDP', dport: 53, sport: 45657)

# Manipulate packets:
pkt.is?

packetgen 1.0.1 released

packetgen 1.0.1 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:
- make easy building of packets, not class-defined as PacketFu
- may handle tunneled packets
- will encapsulate and/or decapsulate packets (TODO)
- parse packets bottom-up, so correctly guess lower protocols
- send packets at IP/IPv6 layers

Known protocols are: Ethernet, IP, IPv6, ARP, ICMP

packetgen 1.0.0 released

packetgen 1.0.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:
- make easy building of packets, not class-defined as PacketFu
- may handle tunneled packets
- will encapsulate and/or decapsulate packets (TODO)
- parse packets bottom-up, so correctly guess lower protocols
- send packets at IP/IPv6 layers

# Create packets:
pkt = PacketGen.gen('Eth').add('

<DKIM> [ANN] packetgen 0.3.0 released

packetgen 0.3.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:
- make easy building of packets, not class-defined as PacketFu
- may handle tunneled packets
- will encapsulate and/or decapsulate packets (TODO)
- parse packets bottom-up, so correctly guess lower protocols
- send packets at IP/IPv6 layers

# Create packets:
pkt = PacketGen.gen('Eth').add('

packetgen 0.2.0 released

packetgen 0.2.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:
- make easy building of packets, not class-defined as PacketFu
- may handle tunneled packets
- will encapsulate and/or decapsulate packets (TODO)
- parse packets bottom-up, so correctly guess lower protocols
- send packets at IP/IPv6 layers

# Create packets:
pkt = PacketGen.gen('Eth').add('

packetgen initial release

packetgen 0.1.0 has been released.

* home: <https://github.com/sdaubert/packetgen>

* bugs: <https://github.com/sdaubert/packetgen/issues>

* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:

- make easy building of packets, not class-defined as PacketFu

- may handle tunneled packets

- will encapsulate and/or decapsulate packets (TODO)

- parse packets bottom-up, so correctly guess lower protocols

- will send packets at IP/IPv6 layers (TODO, only Eth level for now)

Crea

Improve Regexp documentation

Issue #5709 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:
ruby -v: ruby 1.9.3p0

Improve Regexp documentation:
* add a section to explain differences between =~ operator and #match
* in Options section, explain how use options with Regexp.new
* add a section about special global variables ($~ and so on)

Update documentation for Complex

Issue #5623 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:

Add documentation to Complex

Update documentation for BigDecimal

Issue #5622 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:

Adding documentation for BigDecimal::INFINITY, BigDecimal::Nan, BigDecimal#hash, BigDecimal#-@ and BigDecimal#+@

Add exception hierarchy in Exception class documentation.

Issue #5438 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:
ruby -v: 1.9.2p290

[PATCH] * error.c: Add exception hierarchy in Exception class documentation.

Update documentation for PP

Issue #5430 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:
ruby -v: 1.9.2p290

Move documentation block in front of class definition.

Update documentation for Coverage

Issue #5428 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:
ruby -v: 1.9.2

Format numbered list in Usage paragraph. Add a little explanation about array content from return hash.

Update Socket doc

Issue #5182 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category:
Target version:

[ancdata.c, basicsocket.c, init.c, ipsocket.c, mkconstant.rb, option.c, raddrinfo.c, socket.c, tcpserver.c, tcpsocket.c, udpsocket.c, unixserver.c, unixsocket.c] Make class documentation appear in rdoc by moving then in front of rb_define_class functions.

[socket.c, tcpserver.c] Add simple examples for Socket,

adding head documentation and example for Digest module

Issue #5167 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:
ruby -v: 1.9.2p180

Documentation for OpenSSL::Digest

Issue #5166 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:
ruby -v: 1.9.2p180

Adding documentation for OpenSSL::Digest.digest.
Adding a third example for OpenSSL::Digest use.